﻿using System;
using System.Runtime.Serialization;

namespace Hippo.Framework.Model
{
    [Serializable]
    [DataContract]
    public class TestScenario
    {
        public TestScenario(string name, ScriptLanguage language, string scriptCode, int repeat = 10)
        {
            Name = name;
            Language = language;
            ScriptCode = scriptCode;
            Repeat = repeat;
        }

        [DataMember]
        public string Name { get; set; }

        [DataMember]
        public ScriptLanguage Language { get; set; }

        [DataMember]
        public string ScriptCode { get; set; }

        [DataMember]
        public int Repeat { get; set; }
    }
}
